﻿using System;
using System.Collections.Generic;
using System.Reactive.Disposables;

namespace nRoute.Components.Composition
{
    public interface IResourceLocator
        : ICancelable
    {
        IDictionary<string, Object> Metadata { get; }

        Object GetResource(ITypeBuilder typeBuilder);
    }
}
